JavaScript
panelObject.setState Method
Syntax
panelObj.setState(stateObject);
Arguments
- stateObject
The state object to restore. You can get a state object using the Panel Object's .getState() method.
Description
Restores the state of a Panel Object from a previously saved state.
Example
//Get a pointer to the Panel Object var panelObj = {dialog.object}.getPanelObject(); if (panelObj) { //Restore the state of the Panel Object. (Assume that the state is in a variable called 'state') panelObj.setState(state); }
See Also